﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Stamp_For_Africa_Version_2.Models
{
  public class RuleViolation
  {

    public string ErrorMessage { get; private set; }
    public string PropertyName { get; private set; }

    public RuleViolation(string errorMessage, string propertyName)
    {
      ErrorMessage = errorMessage;
      PropertyName = propertyName;
    }
  }
}